package com.cq.oa.domain.wfc;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import oa.base.hibernate.BaseClass;
@Entity
@Table(name = "wfc_process_definition")
public class ProcessDefinition extends BaseClass {
   
	/**
	 * lilang
	 * 2013-10-19下午1:50:43
	 */
	private static final long serialVersionUID = -6473697241956512507L;

	@Column(name = "TYPES")
	private Long types;

	@Column(name = "ORDER_BY")
	private Long orderBy;

	@Column(name = "CNAME")
	private String cname;

	@Column(name = "MSG")
	private String msg;

	@Column(name = "TIME_LIMIE")
	private Long timeLimie;

	@Column(name = "BEGIN_TIME")
	private Date beginTime;

	@Column(name = "END_TIME")
	private Date endTime;

	@Column(name = "ENAME")
	private String ename;


	@Column(name = "BUSINESS_ID")
	private Long businessId;

   

    public Long getTypes() {
        return types;
    }

    public void setTypes(Long types) {
        this.types = types;
    }

    public Long getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(Long orderBy) {
        this.orderBy = orderBy;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg == null ? null : msg.trim();
    }

    public Long getTimeLimie() {
        return timeLimie;
    }

    public void setTimeLimie(Long timeLimie) {
        this.timeLimie = timeLimie;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename == null ? null : ename.trim();
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }
}